#ifndef VSMODELSWITCHNODE_H
#define VSMODELSWITCHNODE_H
#include "VSSwitchNode.h"
#include "VSGeometryNode.h"
namespace VSEngine2
{
	class VSGRAPHIC_API VSModelSwitchNode : public VSSwitchNode
	{
		//PRIORITY
		
		//RTTI
		DECLARE_RTTI;
	public:
		VSModelSwitchNode();
		virtual ~VSModelSwitchNode();
	public:
		static bool RegisterMainFactory();
		virtual VSGeometryNode * GetGeometryNode(unsigned int uiLodLevel);
	private:
		static bool InitialClassFactory();	
		static VSObject * FactoryFunc();
		static bool ms_bRegisterMainFactory;
	};
	typedef VSPointer<VSModelSwitchNode> VSModelSwitchNodePtr;
}
#endif